function checkInfo(){
    var phone = document.getElementById("r_phone").value;
    var name = document.getElementById("r_name").value;

    var regex = /^1[3-9]\d{9}$/;
    if(!regex.test(phone)){
        alert("请输入正确的手机号！");
        return false;
    }
    if(name.replace(/\s+/g, '') == ""){
        alert("请输入姓名！");
        return false;
    }
}